package com.zhongying.jf.model.hkjf;

import java.util.ArrayList;
import java.util.List;

/**
 * 豪康资金端-标的录入请求类
 */
public class ReqFundsProjectCreateDto {
    //借款基本信息
    private BorrowInfo borrowInfo;
    //借款扩展信息
    private BorrowExtendInfo borrowExtendInfo;
    //借款人姓名
    private BorrowUserInfo borrowUserInfo;
    //附件信息
    private List<File> files;
    //审核材料
    private List<HideImgUrl> HideImgUrlList;
    //抵押信息
    private String mortgage;
    //满标回调地址
    private String retUrl;

    private OtherData otherData;


    public ReqFundsProjectCreateDto() {
        this.borrowInfo = new BorrowInfo();
        this.borrowExtendInfo = new BorrowExtendInfo();
        this.borrowUserInfo=new BorrowUserInfo();
        this.otherData=new OtherData();
        this.files = new ArrayList<>();
        this.HideImgUrlList=new ArrayList<>();
    }

    public class OtherData{
        //地区
        private String address;
        //项目概述
        private String projectDetail;
        //还款来源
        private String repaymentSource;
        //注册资金
        private String registeredCapital;
        //营业收入
        private String businessIncom;
        //债务状况
        private String debortStatus;
        //资产状况
        private String assetStatus;
        //信用状况
        private String creditStatus;

        public String getRegisteredCapital() {
            return registeredCapital;
        }

        public void setRegisteredCapital(String registeredCapital) {
            this.registeredCapital = registeredCapital;
        }

        public String getBusinessIncom() {
            return businessIncom;
        }

        public void setBusinessIncom(String businessIncom) {
            this.businessIncom = businessIncom;
        }

        public String getDebortStatus() {
            return debortStatus;
        }

        public void setDebortStatus(String debortStatus) {
            this.debortStatus = debortStatus;
        }

        public String getAssetStatus() {
            return assetStatus;
        }

        public void setAssetStatus(String assetStatus) {
            this.assetStatus = assetStatus;
        }

        public String getCreditStatus() {
            return creditStatus;
        }

        public void setCreditStatus(String creditStatus) {
            this.creditStatus = creditStatus;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getProjectDetail() {
            return projectDetail;
        }

        public void setProjectDetail(String projectDetail) {
            this.projectDetail = projectDetail;
        }

        public String getRepaymentSource() {
            return repaymentSource;
        }

        public void setRepaymentSource(String repaymentSource) {
            this.repaymentSource = repaymentSource;
        }
    }

    public OtherData getOtherData() {
        return otherData;
    }

    public void setOtherData(OtherData otherData) {
        this.otherData = otherData;
    }

    public class BorrowInfo {
        //平台用户编号
        private String userId;
        //合同号
        private String contractNo;
        //借款金额
        private String borrTotAmt;
        //借款期限
        private String periods;
        //借款期限单位
        private String periodType;
        //还款方式
        private String retType;
        //利率
        private String rate;
        //借款主体
        private String borrowMain;
        //借款用途
        private String borrowPurpose;
        //借款类型
        private String borrowType;
        //总费用
        private String allFee;

        public String getAllFee() {
            return allFee;
        }

        public void setAllFee(String allFee) {
            this.allFee = allFee;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getContractNo() {
            return contractNo;
        }

        public void setContractNo(String contractNo) {
            this.contractNo = contractNo;
        }

        public String getBorrTotAmt() {
            return borrTotAmt;
        }

        public void setBorrTotAmt(String borrTotAmt) {
            this.borrTotAmt = borrTotAmt;
        }

        public String getPeriods() {
            return periods;
        }

        public void setPeriods(String periods) {
            this.periods = periods;
        }

        public String getPeriodType() {
            return periodType;
        }

        public void setPeriodType(String periodType) {
            this.periodType = periodType;
        }

        public String getRetType() {
            return retType;
        }

        public void setRetType(String retType) {
            this.retType = retType;
        }

        public String getRate() {
            return rate;
        }

        public void setRate(String rate) {
            this.rate = rate;
        }

        public String getBorrowMain() {
            return borrowMain;
        }

        public void setBorrowMain(String borrowMain) {
            this.borrowMain = borrowMain;
        }

        public String getBorrowPurpose() {
            return borrowPurpose;
        }

        public void setBorrowPurpose(String borrowPurpose) {
            this.borrowPurpose = borrowPurpose;
        }

        public String getBorrowType() {
            return borrowType;
        }

        public void setBorrowType(String borrowType) {
            this.borrowType = borrowType;
        }
    }

    public class BorrowExtendInfo {
        //是否可提前还款
        private String isEarlyRepayment;
        //提前还款手续费
        private String earlyRepaymentfee;
        //是否定期还款
        private String isFixed;
        //持有n天后可提前还款
        private String startDays;
        //结清前n天可提前还款
        private String endDays;
        //最少募集金额
        private String minCollectAmount;
        //逾期罚金日利率
        private String overdueFeeRate;
        //担保公司列表
        private String guaranteecorpList;
        //平台服务费
        private String platformFee;
        //担保费
        private String loanFee;
        //反担保信息
        private String counterGuarantorInfo;
        //反担保脱敏信息
        private String guarantorSensitive;

        public String getCounterGuarantorInfo() {
            return counterGuarantorInfo;
        }

        public void setCounterGuarantorInfo(String counterGuarantorInfo) {
            this.counterGuarantorInfo = counterGuarantorInfo;
        }

        public String getGuarantorSensitive() {
            return guarantorSensitive;
        }

        public void setGuarantorSensitive(String guarantorSensitive) {
            this.guarantorSensitive = guarantorSensitive;
        }

        public String getPlatformFee() {
            return platformFee;
        }

        public void setPlatformFee(String platformFee) {
            this.platformFee = platformFee;
        }

        public String getLoanFee() {
            return loanFee;
        }

        public void setLoanFee(String loanFee) {
            this.loanFee = loanFee;
        }

        public String getGuaranteecorpList() {
            return guaranteecorpList;
        }

        public void setGuaranteecorpList(String guaranteecorpList) {
            this.guaranteecorpList = guaranteecorpList;
        }

        public String getIsEarlyRepayment() {
            return isEarlyRepayment;
        }

        public void setIsEarlyRepayment(String isEarlyRepayment) {
            this.isEarlyRepayment = isEarlyRepayment;
        }

        public String getEarlyRepaymentfee() {
            return earlyRepaymentfee;
        }

        public void setEarlyRepaymentfee(String earlyRepaymentfee) {
            this.earlyRepaymentfee = earlyRepaymentfee;
        }

        public String getIsFixed() {
            return isFixed;
        }

        public void setIsFixed(String isFixed) {
            this.isFixed = isFixed;
        }

        public String getStartDays() {
            return startDays;
        }

        public void setStartDays(String startDays) {
            this.startDays = startDays;
        }

        public String getEndDays() {
            return endDays;
        }

        public void setEndDays(String endDays) {
            this.endDays = endDays;
        }

        public String getMinCollectAmount() {
            return minCollectAmount;
        }

        public void setMinCollectAmount(String minCollectAmount) {
            this.minCollectAmount = minCollectAmount;
        }

        public String getOverdueFeeRate() {
            return overdueFeeRate;
        }

        public void setOverdueFeeRate(String overdueFeeRate) {
            this.overdueFeeRate = overdueFeeRate;
        }
    }

    public class BorrowUserInfo{
        //身份证号
        private String idCard;
        //借款人姓名
        private String userName;
        //借款人手机号
        private String mobile;

        public String getIdCard() {
            return idCard;
        }

        public void setIdCard(String idCard) {
            this.idCard = idCard;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }
    }
    public static class File {
        //附件名称
        private String fileName;
        //附件地址
        private String fileUrl;

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }

        public String getFileUrl() {
            return fileUrl;
        }

        public void setFileUrl(String fileUrl) {
            this.fileUrl = fileUrl;
        }
    }

    public static class HideImgUrl {
        //附件名称
        private String fileName;
        //附件地址
        private String fileUrl;

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }

        public String getFileUrl() {
            return fileUrl;
        }

        public void setFileUrl(String fileUrl) {
            this.fileUrl = fileUrl;
        }
    }



    public BorrowInfo getBorrowInfo() {
        return borrowInfo;
    }

    public void setBorrowInfo(BorrowInfo borrowInfo) {
        this.borrowInfo = borrowInfo;
    }

    public BorrowExtendInfo getBorrowExtendInfo() {
        return borrowExtendInfo;
    }

    public void setBorrowExtendInfo(BorrowExtendInfo borrowExtendInfo) {
        this.borrowExtendInfo = borrowExtendInfo;
    }

    public BorrowUserInfo getBorrowUserInfo() {
        return borrowUserInfo;
    }

    public void setBorrowUserInfo(BorrowUserInfo borrowUserInfo) {
        this.borrowUserInfo = borrowUserInfo;
    }

    public List<File> getFiles() {
        return files;
    }

    public void setFiles(List<File> files) {
        this.files = files;
    }

    public String getMortgage() {
        return mortgage;
    }

    public void setMortgage(String mortgage) {
        this.mortgage = mortgage;
    }

    public String getRetUrl() {
        return retUrl;
    }

    public void setRetUrl(String retUrl) {
        this.retUrl = retUrl;
    }

    public List<HideImgUrl> getHideImgUrlList() {
        return HideImgUrlList;
    }

    public void setHideImgUrlList(List<HideImgUrl> hideImgUrlList) {
        HideImgUrlList = hideImgUrlList;
    }
}
